public static final int GS_NULL = 0;
public static final int GS_MENU = 1;
public static final int GS_INIT_GAME = 2;
public static final int GS_RUN_GAME = 4;
public static final int GS_END_GAME = 8;


class  game
{
  public boundingBox viewport;

  private boolean isRunning;
  public int gameState ;
 

  game()
  {
    isRunning = true;
    gameState = GS_NULL;
    
  } 
  
  int gameState()
  {
    return this.gameState; 
  }
  
  void gameState(int gameState)
  {
    this.gameState = gameState;
  }
  
  boolean isRunning()
  {
     return this.isRunning; 
  }
  
  void isRunning(boolean isRunning)
  {
    this.isRunning = isRunning;
  }
  
  void setViewport(boundingBox vp)
  {
    this.viewport = vp;
  }

  
  boundingBox getViewport()
  {
    return this.viewport;
  }
}
